//
//  AddChase2TableViewCell.m
//  PlayerWorld
//
//  Created by 汪的一声就哭了！ on 16/8/22.
//  Copyright © 2016年 刘成. All rights reserved.
//

#import "AddChase2TableViewCell.h"

@implementation AddChase2TableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.mainLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.mainLabel];
        self.mainLabel.font = [UIFont systemFontOfSize:16];
        
        self.detailLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.detailLabel];
        self.detailLabel.font = [UIFont systemFontOfSize:16];
        self.detailLabel.textColor = [UIColor colorWithRed:102.0/255.0 green:102.0/255.0 blue:102.0/255.0 alpha:1];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.mainLabel.frame = CGRectMake(20, 0, 110, self.contentView.bounds.size.height);
    self.detailLabel.frame = CGRectMake(150, 0, self.contentView.bounds.size.width - 130, self.contentView.bounds.size.height);
}
@end
